package com.itzb.asone.system.service.impl;


import java.util.List;

import com.itzb.asone.mybatis.Criteria;
import com.itzb.asone.system.model.SysGroup;
import com.itzb.asone.system.model.SysGroupUser;
import com.itzb.asone.system.repository.ISysGroupUserRepository;
import com.itzb.asone.system.service.IMessageService;
import com.itzb.asone.system.service.ISysGroupUserService;

public class SysGroupUserServiceImpl implements ISysGroupUserService{
	
	private ISysGroupUserRepository sysGroupUserRepository;
	private IMessageService messageService;

	public List<SysGroupUser> queryPage(Criteria<SysGroupUser> param){
		return sysGroupUserRepository.queryPage(param);
	}

	public Integer queryPageCount(Criteria<SysGroupUser> param){
		return sysGroupUserRepository.queryPageCount(param);
	}

	public SysGroupUser queryEntityById(String id){
		return sysGroupUserRepository.queryEntityById(id);
	}

	public Integer insert(SysGroupUser record){
		return sysGroupUserRepository.insert(record);
	}

	public Integer updateByCriteria(Criteria<SysGroupUser> param){
		return sysGroupUserRepository.updateByCriteria(param);
	}

	public Integer deleteById(String id){
		return sysGroupUserRepository.deleteById(id);
	}

	public Integer deleteByCriteria(Criteria<SysGroupUser> param){
		return sysGroupUserRepository.deleteByCriteria(param);
	}
	public ISysGroupUserRepository getSysGroupUserRepository() {
		return sysGroupUserRepository;
	}

	public void setSysGroupUserRepository(
			ISysGroupUserRepository sysGroupUserRepository) {
		this.sysGroupUserRepository = sysGroupUserRepository;
	}

	public IMessageService getMessageService() {
		return messageService;
	}

	public void setMessageService(IMessageService messageService) {
		this.messageService = messageService;
	}

}
